<template>
  <div class="app-container">
    <el-tabs v-model="currentTabName" @tab-click="handleClick">
      <el-tab-pane label="每日数据" name="ActorLog">
        <ActorLog v-if="currentTabName === 'ActorLog'" />
      </el-tab-pane>
      <el-tab-pane label="每日角色数据" name="ActorStatic">
        <ActorStatic v-if="currentTabName === 'ActorStatic'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
// import ActorLog from './daily.vue'
import ActorLog from './log.vue'
import ActorStatic from './daily_statics.vue'
import checkPermission from '@/utils/permission'

export default {
  name: 'Daily',
  components: { ActorLog, ActorStatic },
  data() {
    return {
      permissionRoles: this.$store.state.user.permissionRoles,
      currentTabName: 'ActorLog'
    }
  },
  methods: {
    checkPermission,
    handleClick() {}
  }
}
</script>
